home *** CD-ROM | disk | FTP | other *** search
Gui4CLI script | 1980-01-03 | 789 b | 36 lines |
- G4C
-
- ; This is an example of a NUM or TEXT type listview.
- ; These are single-select simple listviews
-
- ; They have to be given the name of a file to display, and for
- ; this example we'll give it the "guis:docs/printme" file.
-
-
- WINBIG 304 47 283 168 ListViews1.gc ; our window
- WinType 11110001 ; resizable with all gadgets
-
- xOnLoad
- GuiOpen ListViews1.gc
-
- xOnClose
- GuiQuit ListViews1.gc
-
-
- ; this is the actual listview. Every time the user clicks on it, we'll
- ; display the text of the line the user clicked on, in our text gadget
- ; below (GadID 1)
-
- XLISTVIEW 4 16 274 148 "" variable "guis:docs/Printme" 10 TXT
- update listviews1.gc 1 $variable
-
-
- ; This is the lucky text gadget that gets to display the line..
-
- TEXT 4 1 273 13 "Click on a line.." 40 BOX
- gadid 1
-
-
-
-
-